home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3dm / old-compression / clGetDefault.z / clGetDefault
Encoding:
Text File  |  2002-10-03  |  2.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccllllGGGGeeeettttDDDDeeeeffffaaaauuuulllltttt((((3333ddddmmmm))))                                            ccccllllGGGGeeeettttDDDDeeeeffffaaaauuuulllltttt((((3333ddddmmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      clGetDefault - Get the default value of a parameter
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////ccccllll....hhhh>>>>
  13.  
  14.      iiiinnnntttt ccccllllGGGGeeeettttDDDDeeeeffffaaaauuuulllltttt((((CCCCLLLLhhhhaaaannnnddddlllleeee hhhhaaaannnnddddlllleeee,,,, iiiinnnntttt ppppaaaarrrraaaammmmIIIIDDDD))))
  15.  
  16. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  17.      _h_a_n_d_l_e   A handle to a compressor or decompressor.
  18.  
  19.      _p_a_r_a_m_I_D  A parameter identifier.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      ccccllllGGGGeeeettttDDDDeeeeffffaaaauuuulllltttt queries the object _h_a_n_d_l_e and returns the default value of
  23.      the parameter specified by _p_a_r_a_m_I_D.
  24.  
  25.      To get parameter identifiers for all the parameters associated with a
  26.      processing object, use ccccllllQQQQuuuueeeerrrryyyyPPPPaaaarrrraaaammmmssss.
  27.  
  28.  
  29. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  30.      ccccllllGGGGeeeettttDDDDeeeeffffaaaauuuulllltttt returns the default value of the selected parameter, or a
  31.      negative error code on failure.
  32.  
  33.  
  34. NNNNOOOOTTTTEEEESSSS
  35.      Some parameters (such as CL_BEST_FIT) can take on negative values.
  36.      ccccllllGGGGeeeettttMMMMiiiinnnnMMMMaaaaxxxx can be used to test if _p_a_r_a_m_I_D is a valid parameter
  37.      identifier.
  38.  
  39.  
  40.  
  41. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  42.           #include <dmedia/cl.h>
  43.           CLhandle handle;
  44.           int initial;
  45.  
  46.           clOpenDecompressor(scheme, &handle);
  47.  
  48.           initial = clGetDefault(handle, CL_FORMAT);
  49.            ...
  50.  
  51.  
  52.  
  53. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  54.      CLintro(3dm), clQueryParams(3dm), clGetMinMax(3dm), clGetName(3dm)
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.